class Post
  include Mongoid::Document
  include Mongoid::Taggable
  field :title, type: String
  field :content, type: String
  field :name, type: String
  field :tags, type: Array
  tags_separator ';'
  embeds_many :comments
  belongs_to :category
end
